<?php

$data = file_get_contents("http://zhaopin.baidu.com/");

$preg = "/item-title ellipsis\" data-a-fdcc40d2>(.+?)<\/div><p class=\"job-requirement ellipsis\" data-a-fdcc40d2><span data-a-fdcc40d2>(.+?)<\/span><em class=\"vline\" data-a-fdcc40d2><\/em><span data-a-fdcc40d2>(.+?)<\/span><em class=\"vline\" data-a-fdcc40d2><\/em><span data-a-fdcc40d2>(.+?)<\/span><\/p><p class=\"job-compnay ellipsis\" data-a-fdcc40d2>(.+?)<\/p><div class=\"job-salary-box\" data-a-fdcc40d2><div class=\"salary-container\" data-a-e594de24 data-a-fdcc40d2><span class=\"salary\" data-a-e594de24>(.+?)<\/span><!/";

// <div class="item-title ellipsis" data-a-fdcc40d2>私人财富合伙人(北京瑞祥众合科技有限责任公司)</div><p class="job-requirement ellipsis" data-a-fdcc40d2><span data-a-fdcc40d2>北京</span><em class="vline" data-a-fdcc40d2></em><span data-a-fdcc40d2>经验3-5年</span><em class="vline" data-a-fdcc40d2></em><span data-a-fdcc40d2>来自拉勾网</span></p><p class="job-compnay ellipsis" data-a-fdcc40d2>北京瑞祥众合科技有限责任公司</p><div class="job-salary-box" data-a-fdcc40d2><div class="salary-container" data-a-e594de24 data-a-fdcc40d2><span class="salary" data-a-e594de24>30000-60000</span><!---->


$c = preg_match_all($preg, $data, $out);


var_dump($c,$out);